package io.lkt.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.lkt.common.util.Query;
import io.lkt.common.utils.PageUtils;
import io.lkt.modules.sys.entity.ArticleLookDetailLogDBEntity;
import io.lkt.modules.sys.entity.HotVideoInfo;

import java.util.List;
import java.util.Map;

/**
 * 素材点击日志
 *
 * @author xss
 * @email dustwas@163.com
 * @date 2021-02-22 09:59:38
 */
public interface ArticleLookDetailLogDBService extends IService<ArticleLookDetailLogDBEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageForUserId(Map<String, Object> params);

    List<ArticleLookDetailLogDBEntity> getUserLookInfo(Map<String, Object> params);

    int getUserLookInfoTotal(Map<String, Object> params);

    int getUserLookCount(Integer userId, String gzhCode);

    List<HotVideoInfo> getHotVideo();
}

